package com.cf.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;

@Data

@TableName("CharlieQuotation")
public class ErpQuotationEntity extends Model<ErpQuotationEntity> implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.AUTO)
	private Integer ID;

	private String quotationNo;
	private String qtnTopic;
	private String cardCode;
	private String cardName;
	private String delivery;
	private String qtnType;
	private String tradeType;
	private String userName;
	private String trueName;
	private String department;
	private Date createTime;
	private String timeRequire;
	private String inMemo;
	private String outMemo;
	private BigDecimal total;
	private String contractNo;
	private BigDecimal contractAmt;
	private Date contractTime;
	private Integer status;
	/*
	 * Inputed = 1,业务登记 ;TechChecked=2,技术预算完成; PriceFinished = 3,全部核价完成; QtnFinished
	 * = 4,报价完成 ;ContractSigned =5,合同签订 ;Cancel=6 报价取消;
	 */

	// 重写这个方法，return当前类的主键
	/*
	 * @Override protected Serializable pkVal() { return ID; }
	 */
}
